package com.lm56.common;

/**
 * Created by kelvin on 16/10/23.
 */
public class MyResponseBody {
    public static final int STATUS_SUCESS = 0;
    public static final int STATUS_ERROR = 1;
    public static final int STATUS_USER_EXISTS = 3;
    public static final int STATUS_PHONE_NO_IS_NULL = 4;
    public static final int STATUS_TWO_PASSWORD_NOT_MATCH = 5;

    private Integer currentPage;
    private Integer totalSize;
    private Integer pageSize;


    private int status;
    private String message;
    private Object data;

    public int getStatus() {
        return status;
    }
    public MyResponseBody(){

    }


    public MyResponseBody(int status){
        this.status = status;
        this.message = message;

    }

    public MyResponseBody(int status, String message){
        this.status = status;
        this.message = message;

    }
    public MyResponseBody(int status, String message, Object data){
        this.status = status;
        this.message = message;
        this.data = data;

    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Integer totalSize) {
        this.totalSize = totalSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

}
